Image.php
public function generateHash($type = 'guess', $quality = 80)
    {
        $inputInfos = $this->source->getInfos();

        $datas = array(
            $inputInfos,
            $this->serializeOperations(),
            $type,
            $quality,
        );

        $this->hash = sha1(serialize($datas));
    }
public function generateHash($type = 'guess', $quality = 80)
    {
        $inputInfos = $this->source->getInfos();

        $datas = array(
            $inputInfos,
            $this->serializeOperations(),
            $type,
            $quality,
        );

        $this->hash = sha1(serialize($datas));
    }
public function generateHash ( $ type = 'guess' , $ quality = 80 ) { $ inputInfos = $ this -> source -> getInfos ( ) ; $ datas = array ( $ inputInfos , $ this -> serializeOperations ( ) , $ type , $ quality , ) ; $ this -> hash = sha1 ( serialize ( $ datas ) ) ; }
Generates the hash.
Generates the hash .