<?php

namespace Gregwar\Image\Source;

/**
 * An Image source.
 */
class Source
{
    /**
     * Guess the type of the image.
     *
     * @return string
     */
    public function guessType()
    {
        return 'jpeg';
    }

    /**
     * Is this image correct ?
     *
     * @return bool
     */
    public function correct()
    {
        return true;
    }

    /**
     * Returns information about images, these information should
     * change only if the original image changed.
     *
     * @return array|string|null
     */
    public function getInfos()
    {
        return null;
    }
}
