| 1 | <?php |
||
| 22 | final class Metadata implements MetadataInterface |
||
| 23 | { |
||
| 24 | /** |
||
| 25 | * @var ExifInterface |
||
| 26 | */ |
||
| 27 | private $exif; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @var IptcInterface |
||
| 31 | */ |
||
| 32 | private $iptc; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Constructor |
||
| 36 | * |
||
| 37 | * @param ExifInterface $exif |
||
| 38 | * @param IptcInterface $iptc |
||
| 39 | */ |
||
| 40 | public function __construct(ExifInterface $exif, IptcInterface $iptc) |
||
| 45 | |||
| 46 | /** |
||
| 47 | * {@inheritDoc} |
||
| 48 | */ |
||
| 49 | public function withExif(ExifInterface $exif) |
||
| 56 | |||
| 57 | /** |
||
| 58 | * {@inheritDoc} |
||
| 59 | */ |
||
| 60 | public function withIptc(IptcInterface $iptc) |
||
| 67 | |||
| 68 | /** |
||
| 69 | * {@inheritDoc} |
||
| 70 | */ |
||
| 71 | public function getExif() |
||
| 75 | |||
| 76 | /** |
||
| 77 | * {@inheritDoc} |
||
| 78 | */ |
||
| 79 | public function getIptc() |
||
| 83 | } |
||
| 84 |