Item/DeletedContentfulEntry.php
public static function fromEntry(ContentfulEntry $entry)
    {
        $deletedEntry = new DeletedContentfulEntry();
        $deletedEntry->setCreatedAt($entry->getCreatedAt());
        $deletedEntry->setId($entry->getId());
        $deletedEntry->setRevision($entry->getRevision());
        $deletedEntry->setSpaceId($entry->getSpaceId());
        $deletedEntry->setUpdatedAt($entry->getUpdatedAt());
        return $deletedEntry;
    }
public static function fromEntry(ContentfulEntry $entry)
    {
        $deletedEntry = new DeletedContentfulEntry();
        $deletedEntry->setCreatedAt($entry->getCreatedAt());
        $deletedEntry->setId($entry->getId());
        $deletedEntry->setRevision($entry->getRevision());
        $deletedEntry->setSpaceId($entry->getSpaceId());
        $deletedEntry->setUpdatedAt($entry->getUpdatedAt());
        return $deletedEntry;
    }
public static function fromEntry ( ContentfulEntry $ entry ) { $ deletedEntry = new DeletedContentfulEntry ( ) ; $ deletedEntry -> setCreatedAt ( $ entry -> getCreatedAt ( ) ) ; $ deletedEntry -> setId ( $ entry -> getId ( ) ) ; $ deletedEntry -> setRevision ( $ entry -> getRevision ( ) ) ; $ deletedEntry -> setSpaceId ( $ entry -> getSpaceId ( ) ) ; $ deletedEntry -> setUpdatedAt ( $ entry -> getUpdatedAt ( ) ) ; return $ deletedEntry ; }
@param ContentfulEntry $entry

@return DeletedContentfulEntry
@param ContentfulEntry $entry