concrete/src/Entity/File/File.php
public function setFileFolder(FileFolder $folder)
    {
        $em = \ORM::entityManager('core');

        $this->folderTreeNodeID = $folder->getTreeNodeID();

        $em->persist($this);
        $em->flush();
    }
public function setFileFolder(FileFolder $folder)
    {
        $em = \ORM::entityManager('core');

        $this->folderTreeNodeID = $folder->getTreeNodeID();

        $em->persist($this);
        $em->flush();
    }
public function setFileFolder ( FileFolder $ folder ) { $ em = \ ORM :: entityManager ( 'core' ) ; $ this -> folderTreeNodeID = $ folder -> getTreeNodeID ( ) ; $ em -> persist ( $ this ) ; $ em -> flush ( ) ; }
Folder to put the file in.

@param FileFolder $folder
Folder to put the file in .