public function getPossibleTransitions() { return array_filter(array_keys($this->config['transitions']), array($this, 'can')); }