Version 0.3
This commit is contained in:
parent
0d69145ec3
commit
ad3a5af623
130 changed files with 7283 additions and 2627 deletions
27
src/FFMpeg/FFProbe/MapperInterface.php
Normal file
27
src/FFMpeg/FFProbe/MapperInterface.php
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of PHP-FFmpeg.
|
||||
*
|
||||
* (c) Alchemy <info@alchemy.fr>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace FFMpeg\FFProbe;
|
||||
|
||||
interface MapperInterface
|
||||
{
|
||||
/**
|
||||
* Maps data given its type
|
||||
*
|
||||
* @param string $type One of FFProbe::TYPE_* constant
|
||||
* @param string $data The data
|
||||
*
|
||||
* @return Format|Stream
|
||||
*
|
||||
* @throws InvalidArgumentException In case the type is not supported
|
||||
*/
|
||||
public function map($type, $data);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue