src/Charcoal/Property/ImageProperty.php
public function setDriverType($type)
    {
        if (!is_string($type)) {
            throw new InvalidArgumentException(sprintf(
                'Image driver type must be a string, received %s',
                (is_object($type) ? get_class($type) : gettype($type))
            ));
        }

        $this->driverType = $type;

        return $this;
    }
public function setDriverType($type)
    {
        if (!is_string($type)) {
            throw new InvalidArgumentException(sprintf(
                'Image driver type must be a string, received %s',
                (is_object($type) ? get_class($type) : gettype($type))
            ));
        }

        $this->driverType = $type;

        return $this;
    }
public function setDriverType ( $ type ) { if ( ! is_string ( $ type ) ) { throw new InvalidArgumentException ( sprintf ( 'Image driver type must be a string, received %s' , ( is_object ( $ type ) ? get_class ( $ type ) : gettype ( $ type ) ) ) ) ; } $ this -> driverType = $ type ; return $ this ; }
Set the name of the property's image processing driver.

@param  string $type The processing engine.
@throws InvalidArgumentException If the drive type is not a string.
@return ImageProperty Chainable
Set the name of the property s image processing driver .