Returns info on valid $limitationValues.
public valueSchema ( ) : mixed[] | integer | ||
Результат | mixed[] | integer | In case of array, a hash with key as valid limitations value and value as human readable name of that option, in case of int on of VALUE_SCHEMA_ constants. |
/** * @depends testConstruct * * @param \eZ\Publish\Core\Limitation\LocationLimitationType $limitationType */ public function testValueSchema(LocationLimitationType $limitationType) { self::assertEquals(LocationLimitationType::VALUE_SCHEMA_LOCATION_ID, $limitationType->valueSchema()); }