src/Definition.php
public function get(Container $container)
    {
        if ($this->scope === null) {
            $this->scope = $this->getDefaultScope();
        }

        return $this->scope->get($this, $container);
    }
public function get(Container $container)
    {
        if ($this->scope === null) {
            $this->scope = $this->getDefaultScope();
        }

        return $this->scope->get($this, $container);
    }
public function get ( Container $ container ) { if ( $ this -> scope === null ) { $ this -> scope = $ this -> getDefaultScope ( ) ; } return $ this -> scope -> get ( $ this , $ container ) ; }
Resolves the value of this definition, according to the current scope.

This method is for internal use by the Container.

@internal

@param Container $container

@return mixed
Resolves the value of this definition according to the current scope .