static protected function checkValueType( $value )
{
if ( !$inputValue instanceof \eZ\Publish\Core\FieldType\CookieJar\Value ) )
{
throw new InvalidArgumentException( "Given value type is not supported." );
}
}
protected static checkValueType ( mixed $value ) | ||
$value | mixed | A value returned by {@see \createValueFromInput()}. |