public function define($name, array $args)
    {
        list(, $normalizedName) = $this->resolveAlias($name);
        $this->classDefinitions[$normalizedName] = $args;

        return $this;
    }
public function define($name, array $args)
    {
        list(, $normalizedName) = $this->resolveAlias($name);
        $this->classDefinitions[$normalizedName] = $args;

        return $this;
    }
public function define ( $ name , array $ args ) { list ( , $ normalizedName ) = $ this -> resolveAlias ( $ name ) ; $ this -> classDefinitions [ $ normalizedName ] = $ args ; return $ this ; }
Define instantiation directives for the specified class

@param string $name The class (or alias) whose constructor arguments we wish to define
@param array $args An array mapping parameter names to values/instructions
@return self
Define instantiation directives for the specified class