\Pho\FrameworkAbstractPredicate

Predicates determine Edge capabilities

Summary

Methods
Properties
Constants
binding()
multiplicable()
__toString()
label()
__construct()
__call()
$_methods
No constants found
No protected methods found
$binding
$multiplicable
N/A
No private methods found
No private properties found
N/A

Properties

$_methods

$_methods : array

methods that would be available in this class

Type

array

$binding

$binding : boolean

Holds the binding value.

In this generic implementation, it is set false. An edge with a binding predicate would have its head deleted when the edge itself is destroyed.

Type

boolean

$multiplicable

$multiplicable : boolean

Holds the multiplicable value.

In this generic implementation, it is set false. An edge with a multiplicable predicate can be created multiple times from a particular tail to a particular head.

Type

boolean

Methods

binding()

binding() : boolean

Checks if the predicate is binding.

If a predicate is binding, should the edge's tail node is deleted, not only the edge itself gets stripped off, but the head node must be removed as well.

Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/emresokullu/Code/website/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/emresokullu/Code/website/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275

Returns

boolean

multiplicable()

multiplicable() : boolean

Checks if the predicate is multiplicable.

If a predicate is multiplicable, its edge may be created multiple times between a particular tail and a particular head.

Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/emresokullu/Code/website/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/emresokullu/Code/website/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275

Returns

boolean

__toString()

__toString() : string

Returns the full class name

Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/emresokullu/Code/website/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/emresokullu/Code/website/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275

Returns

string

label()

label() : string

Returns the predicate in string format

Label is actually the short-form class name. For full class name, use (string) $predicate

Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/emresokullu/Code/website/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/emresokullu/Code/website/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275

Returns

string

__construct()

__construct() 

Constructor.

Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/emresokullu/Code/website/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/emresokullu/Code/website/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275

__call()

__call(\Pho\Framework\string  $name, array  $args) 

{@internal}

Used to call predicate traits.

Parameters

\Pho\Framework\string $name
array $args
Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/emresokullu/Code/website/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/emresokullu/Code/website/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275