Finite\StateMachine\StateMachineInterface::findStateWithProperty PHP Method

findStateWithProperty() public method

It is useful for looking for objects having a given property in database for example.
public findStateWithProperty ( string $property, mixed $value = null ) : boolean
$property string
$value mixed
return boolean
    public function findStateWithProperty($property, $value = null);