eZ\Publish\Core\Limitation\SectionLimitationType::valueSchema PHP Method

valueSchema() public method

Returns info on valid $limitationValues.
public valueSchema ( ) : mixed[] | integer
return 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.
    public function valueSchema()
    {
        throw new \eZ\Publish\API\Repository\Exceptions\NotImplementedException(__METHOD__);
    }

Usage Example

 /**
  * @depends testConstruct
  *
  * @expectedException \eZ\Publish\API\Repository\Exceptions\NotImplementedException
  *
  * @param \eZ\Publish\Core\Limitation\SectionLimitationType $limitationType
  */
 public function testValueSchema(SectionLimitationType $limitationType)
 {
     $limitationType->valueSchema();
 }