Puli\Manager\Api\Repository\PathMapping::getState PHP Method

getState() public method

The method {@link load()} needs to be called before calling this method, otherwise an exception is thrown.
public getState ( ) : integer
return 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;
    }