| 1 | <?php  | 
            ||
| 11 | trait MediaObjectTrait  | 
            ||
| 12 | { | 
            ||
| 13 | use CreativeWorkTrait;  | 
            ||
| 14 | |||
| 15 | private $_contentUrl;  | 
            ||
| 16 | |||
| 17 | /**  | 
            ||
| 18 | * Actual bytes of the media object, for example the image file or video file.  | 
            ||
| 19 | *  | 
            ||
| 20 | * @param UrlValue $url  | 
            ||
| 21 | */  | 
            ||
| 22 | public function setContentUrl(UrlValue $url)  | 
            ||
| 27 | |||
| 28 | public function getContentUrl()  | 
            ||
| 32 | |||
| 33 | private $_embedUrl;  | 
            ||
| 34 | |||
| 35 | /**  | 
            ||
| 36 | * A URL pointing to a player for a specific video. In general, this is the information in the src element of an embed tag and should not be the same as the content of the loc tag.  | 
            ||
| 37 | *  | 
            ||
| 38 | * @param UrlValue $url  | 
            ||
| 39 | */  | 
            ||
| 40 | public function setEmbedUrl(UrlValue $url)  | 
            ||
| 44 | |||
| 45 | public function getEmbedUrl()  | 
            ||
| 49 | |||
| 50 | private $_uploadDate;  | 
            ||
| 51 | |||
| 52 | /**  | 
            ||
| 53 | * Date when this media object was uploaded to this site.  | 
            ||
| 54 | * @param DateValue $date  | 
            ||
| 55 | */  | 
            ||
| 56 | public function setUploadDate(DateValue $date)  | 
            ||
| 61 | |||
| 62 | public function getUploadDate()  | 
            ||
| 66 | }  |