@author Bernhard Schussek <bschussek@gmail.com>
@api
Expanded class hierarchy of Callback
class Callback extends Constraint {
public $methods;
/**
* {@inheritDoc}
*/
public function getRequiredOptions() {
return array(
'methods',
);
}
/**
* {@inheritDoc}
*/
public function getDefaultOption() {
return 'methods';
}
/**
* {@inheritDoc}
*/
public function getTargets() {
return self::CLASS_CONSTRAINT;
}
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Callback:: |
public | property | ||
Callback:: |
public | function |
Returns the name of the default option Overrides Constraint:: |
|
Callback:: |
public | function |
Returns the name of the required options Overrides Constraint:: |
|
Callback:: |
public | function |
Returns whether the constraint can be put onto classes, properties or
both Overrides Constraint:: |
|
Constraint:: |
public | property | ||
Constraint:: |
public | function | Adds the given group if this constraint is in the Default group | |
Constraint:: |
constant | Marks a constraint that can be put onto classes | ||
Constraint:: |
constant | The name of the group given to all constraints with no explicit group | ||
Constraint:: |
constant | Marks a constraint that can be put onto properties | ||
Constraint:: |
public | function | Returns the name of the class that validates this constraint | 2 |
Constraint:: |
public | function | Initializes the constraint with options. | 10 |
Constraint:: |
public | function | Unsupported operation. |