Having trouble passing a variable through

  • Thread starter Thread starter grantus
  • Start date Start date

grantus

Guest
Member
I'm working on my controller file and for testing purposes I just want to pass a variable through to my Entity so that it can be saved into the db 'filesize' column.

Code:

Code:

Code:
public function actionAdd()
    {
        $store = $this->em()->create('Path\To:Manage');
        $store->filesize = 12345;
        return $this->storeAddEdit($store);
    }

    public function actionEdit(ParameterBag $params)
    {
        $store = $this->assertStoreExists($params->store_id)...
Read more

Continue reading...
 
Top