scratch – Blame information for rev

Subversion Repositories:
Rev:
Rev Author Line No. Line
115 office 1 <?php
2  
3 /*
4 * This file is part of PHP-FFmpeg.
5 *
6 * (c) Alchemy <info@alchemy.fr>
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11  
12 namespace FFMpeg\FFProbe;
13  
14 interface MapperInterface
15 {
16 /**
17 * Maps data given its type.
18 *
19 * @param string $type One of FFProbe::TYPE_* constant
20 * @param string $data The data
21 *
22 * @return Format|Stream
23 *
24 * @throws InvalidArgumentException In case the type is not supported
25 */
26 public function map($type, $data);
27 }