comunic/developer/vendor/gregwar/image/Gregwar/Image/Source/Source.php

35 lines
510 B
PHP
Raw Normal View History

2016-11-19 11:08:12 +00:00
<?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;
}
}