Puli\Manager\Api\Repository\PathMapping::getState PHP Méthode

getState() public méthode

The method {@link load()} needs to be called before calling this method, otherwise an exception is thrown.
public getState ( ) : integer
Résultat integer One of the {@link PathMappingState} constants.
    public function getState()
    {
        if (null === $this->state) {
            throw new NotLoadedException('The mapping is not loaded.');
        }
        return $this->state;
    }