private function checkPointOfEntry(array $configuration, $pointOfEntry)
    {
        foreach ($configuration as $transitionConfiguration) {
            if ($transitionConfiguration[0] === $pointOfEntry) {
                return $this;
            }
        }

        throw new InvalidPointOfEntryException($pointOfEntry);
    }
private function checkPointOfEntry(array $configuration, $pointOfEntry)
    {
        foreach ($configuration as $transitionConfiguration) {
            if ($transitionConfiguration[0] === $pointOfEntry) {
                return $this;
            }
        }

        throw new InvalidPointOfEntryException($pointOfEntry);
    }
private function checkPointOfEntry ( array $ configuration , $ pointOfEntry ) { foreach ( $ configuration as $ transitionConfiguration ) { if ( $ transitionConfiguration [ 0 ] === $ pointOfEntry ) { return $ this ; } } throw new InvalidPointOfEntryException ( $ pointOfEntry ) ; }
Check point of entry.

@param array  $configuration Configuration
@param string $pointOfEntry  Point of entry

@return $this Self object

@throws InvalidPointOfEntryException Invalid point of entry
Check point of entry .