src/CRUDlex/FileHandler.php
protected function getPath($entityName, Entity $entity, $field)
    {
        return $this->entityDefinition->getField($field, 'path').'/'.$entityName.'/'.$entity->get('id').'/'.$field;
    }
protected function getPath($entityName, Entity $entity, $field)
    {
        return $this->entityDefinition->getField($field, 'path').'/'.$entityName.'/'.$entity->get('id').'/'.$field;
    }
protected function getPath ( $ entityName , Entity $ entity , $ field ) { return $ this -> entityDefinition -> getField ( $ field , 'path' ) . '/' . $ entityName . '/' . $ entity -> get ( 'id' ) . '/' . $ field ; }
Constructs a file system path for the given parameters for storing the
file of the file field.

@param string $entityName
the entity name
@param Entity $entity
the entity
@param string $field
the file field in the entity

@return string
the constructed path for storing the file of the file field
Constructs a file system path for the given parameters for storing the file of the file field .