public function storeAfterResolvingListener($abstract, $listener)
    {
        if (!isset($this->resolvedListeners[$abstract])) {
            $this->resolvedListeners[$abstract] = [];
        }
        $this->resolvedListeners[$abstract][] = $listener;

        return $this;
    }
public function storeAfterResolvingListener($abstract, $listener)
    {
        if (!isset($this->resolvedListeners[$abstract])) {
            $this->resolvedListeners[$abstract] = [];
        }
        $this->resolvedListeners[$abstract][] = $listener;

        return $this;
    }
public function storeAfterResolvingListener ( $ abstract , $ listener ) { if ( ! isset ( $ this -> resolvedListeners [ $ abstract ] ) ) { $ this -> resolvedListeners [ $ abstract ] = [ ] ; } $ this -> resolvedListeners [ $ abstract ] [ ] = $ listener ; return $ this ; }
Stores a listener in the resolved array.

@param string   $abstract
@param callable $listener

@return self
Stores a listener in the resolved array .