Having trouble passing a variable through

Status
This content is read-only, or is not open for further replies.

grantus

Guest
offline
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:
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);
        $store->filesize =...

Read more

Continue reading...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom