public function transform($umbrellaFile)
    {
        return array(
            'file' => null,
            'id' => $umbrellaFile ? $umbrellaFile->id : null,
            'text' => $umbrellaFile ? $umbrellaFile->name . ' (' . $umbrellaFile->getHumanSize() .')' : null
        );
    }
public function transform($umbrellaFile)
    {
        return array(
            'file' => null,
            'id' => $umbrellaFile ? $umbrellaFile->id : null,
            'text' => $umbrellaFile ? $umbrellaFile->name . ' (' . $umbrellaFile->getHumanSize() .')' : null
        );
    }
public function transform ( $ umbrellaFile ) { return array ( 'file' => null , 'id' => $ umbrellaFile ? $ umbrellaFile -> id : null , 'text' => $ umbrellaFile ? $ umbrellaFile -> name . ' (' . $ umbrellaFile -> getHumanSize ( ) . ')' : null ) ; }
Transform UmbrellaFile => array
@param UmbrellaFile $umbrellaFile
@return array
Transform UmbrellaFile = > array