Doctrine\ODM\MongoDB\Mapping\ClassMetadataInfo::isFile PHP Method

isFile() public method

Returns TRUE if this Document is a file to be stored on the MongoGridFS FALSE otherwise.
public isFile ( ) : boolean
return boolean
    public function isFile()
    {
        return $this->file ? true : false;
    }
ClassMetadataInfo