Returns info on valid $limitationValues.
public valueSchema ( ) : mixed[] | integer | ||
Résultat | 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\SubtreeLimitationType $limitationType */ public function testValueSchema(SubtreeLimitationType $limitationType) { self::assertEquals(SubtreeLimitationType::VALUE_SCHEMA_LOCATION_PATH, $limitationType->valueSchema()); }