public function getStates()
    {
        $appID = App::getCurrentID();
        $complementID = self::getCurrentID();
        $states = $this->getStatesFromFile();

        if (isset($states[$appID][$complementID])) {
            return $this->states = $states[$appID][$complementID];
        }

        return $this->states = [];
    }
public function getStates()
    {
        $appID = App::getCurrentID();
        $complementID = self::getCurrentID();
        $states = $this->getStatesFromFile();

        if (isset($states[$appID][$complementID])) {
            return $this->states = $states[$appID][$complementID];
        }

        return $this->states = [];
    }
public function getStates ( ) { $ appID = App :: getCurrentID ( ) ; $ complementID = self :: getCurrentID ( ) ; $ states = $ this -> getStatesFromFile ( ) ; if ( isset ( $ states [ $ appID ] [ $ complementID ] ) ) { return $ this -> states = $ states [ $ appID ] [ $ complementID ] ; } return $ this -> states = [ ] ; }
Get complements states.

@uses \Eliasis\Framework\App::getCurrentID()
@uses \Eliasis\Complement\Complement::getCurrentID()

@return array → complements states
Get complements states .