src/frogsystem/spawn/Container.php
public function get($abstract, $args = [])
    {
        // element in container
        if ($this->has($abstract)) {
            // retrieve the entry
            return $this->retrieve($this->container, $abstract, $args);
        }

        throw new Exceptions\NotFoundException("Abstract '{$abstract}' not found.");
    }
public function get($abstract, $args = [])
    {
        // element in container
        if ($this->has($abstract)) {
            // retrieve the entry
            return $this->retrieve($this->container, $abstract, $args);
        }

        throw new Exceptions\NotFoundException("Abstract '{$abstract}' not found.");
    }
public function get ( $ abstract , $ args = [ ] ) { // element in container if ( $ this -> has ( $ abstract ) ) { // retrieve the entry return $ this -> retrieve ( $ this -> container , $ abstract , $ args ) ; } throw new Exceptions \ NotFoundException ( "Abstract '{$abstract}' not found." ) ; }
Invokes the registered entry for an abstract and returns the result.

@param string $abstract The abstract to store in the container.
@param array $args Array of arguments passed to a possible callable
@return mixed No entry was found for this identifier.
@throws NotFoundException
Invokes the registered entry for an abstract and returns the result .