FluentDOM\Exceptions\InvalidSerializer::__construct PHP Method

__construct() public method

public __construct ( $contentType, $class )
    public function __construct($contentType, $class)
    {
        parent::__construct(sprintf('Invalid serializer for content type %s, instances of %s are not castable to string.', $contentType, $class));
    }
InvalidSerializer