mirror of
https://github.com/pierre42100/comunic
synced 2024-11-17 02:51:13 +00:00
35 lines
510 B
PHP
35 lines
510 B
PHP
|
<?php
|
||
|
|
||
|
namespace Gregwar\Image\Source;
|
||
|
|
||
|
/**
|
||
|
* An Image source
|
||
|
*/
|
||
|
class Source
|
||
|
{
|
||
|
/**
|
||
|
* Guess the type of the image
|
||
|
*/
|
||
|
public function guessType()
|
||
|
{
|
||
|
return 'jpeg';
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Is this image correct ?
|
||
|
*/
|
||
|
public function correct()
|
||
|
{
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Returns information about images, these informations should
|
||
|
* change only if the original image changed
|
||
|
*/
|
||
|
public function getInfos()
|
||
|
{
|
||
|
return null;
|
||
|
}
|
||
|
}
|