src/Proxy/ProxyTrait.php
protected function initializeProxy(): void
    {
        //Initialize internal vars
        $this->states = [];
        $this->activesStates = [];
        $this->callerStatedClassesStack = new \SplStack();
        //Creates
        $this->loadStates();
    }
protected function initializeProxy(): void
    {
        //Initialize internal vars
        $this->states = [];
        $this->activesStates = [];
        $this->callerStatedClassesStack = new \SplStack();
        //Creates
        $this->loadStates();
    }
protected function initializeProxy ( ) : void { //Initialize internal vars $ this -> states = [ ] ; $ this -> activesStates = [ ] ; $ this -> callerStatedClassesStack = new \ SplStack ( ) ; //Creates $ this -> loadStates ( ) ; }
Method to call into the constructor to initialize proxy's vars.
Externalized from the constructor to allow developers to write their own constructors into theirs classes.

@throws Exception\StateNotFound
Method to call into the constructor to initialize proxy s vars . Externalized from the constructor to allow developers to write their own constructors into theirs classes .