Imbo\Resource\Images\Query::checksums PHP Method

checksums() public method

Set or get the checksums filter
public checksums ( array $checksums = null ) : array | self
$checksums array Give this a value to set the property
return array | self
    public function checksums(array $checksums = null)
    {
        if ($checksums === null) {
            return $this->checksums;
        }
        $this->checksums = $checksums;
        return $this;
    }

Usage Example

Example #1
0
 /**
  * @covers Imbo\Resource\Images\Query::checksums
  */
 public function testChecksums()
 {
     $value = array('sum1', 'sum2');
     $this->assertSame(array(), $this->query->checksums());
     $this->assertSame($this->query, $this->query->checksums($value));
     $this->assertSame($value, $this->query->checksums());
 }
All Usage Examples Of Imbo\Resource\Images\Query::checksums