src/FlexiPeeHP/Priloha.php
public static function getFirstAttachment($object)
    {
        $attachments = self::getAttachmentsList($object);
        return count($attachments) ? current($attachments) : null;
    }
public static function getFirstAttachment($object)
    {
        $attachments = self::getAttachmentsList($object);
        return count($attachments) ? current($attachments) : null;
    }
public static function getFirstAttachment ( $ object ) { $ attachments = self :: getAttachmentsList ( $ object ) ; return count ( $ attachments ) ? current ( $ attachments ) : null ; }
Obtain first attachment for given object

@param  FlexiBeeRO $object
@return array
Obtain first attachment for given object