vendor/rdlowrey/auryn/lib/Provider.php
/**
     * Instantiate a class according to a predefined or custom call-time injection definition
     *
     * @param string $className The class to provision
     * @param array  $customDefinition An optional array of one-time instantiation parameters
     * @throws \Auryn\InjectionException
     * @return mixed A provisioned instance of the $className class
     */
Instantiate a class according to a predefined or custom call-time injection definition
@param string $className The class to provision
@param array  $customDefinition An optional array of one-time instantiation parameters
@throws \Auryn\InjectionException
@return mixed A provisioned instance of the $className class
Instantiate a class according to a predefined or custom call - time injection definition @param string $className The class to provision @param array $customDefinition An optional array of one - time instantiation parameters @throws \ Auryn \ InjectionException @return mixed A provisioned instance of the $className class
public function make($className, array $customDefinition = array()) {
        list($className, $normalizedClass) = $this->resolveAliasIfNeeded($className);
        $this->guardAgainstCyclicDependency($className, $normalizedClass);
        $provisionedObject = $this->makeClass($className, $normalizedClass, $customDefinition);
        $this->shareIfNeeded($normalizedClass, $provisionedObject);
        $this->prepareIfNeeded($normalizedClass, $provisionedObject);
        $this->unguardAgainstCyclicDependency($normalizedClass);
        return $provisionedObject;
    }
public function make ( $ className , array $ customDefinition = array ( ) ) { list ( $ className , $ normalizedClass ) = $ this -> resolveAliasIfNeeded ( $ className ) ; $ this -> guardAgainstCyclicDependency ( $ className , $ normalizedClass ) ; $ provisionedObject = $ this -> makeClass ( $ className , $ normalizedClass , $ customDefinition ) ; $ this -> shareIfNeeded ( $ normalizedClass , $ provisionedObject ) ; $ this -> prepareIfNeeded ( $ normalizedClass , $ provisionedObject ) ; $ this -> unguardAgainstCyclicDependency ( $ normalizedClass ) ; return $ provisionedObject ; }
Instantiate a class according to a predefined or custom call-time injection definition
 @param string $className The class to provision
 @param array  $customDefinition An optional array of one-time instantiation parameters
 @throws \Auryn\InjectionException
 @return mixed A provisioned instance of the $className class
Instantiate a class according to a predefined or custom call - time injection definition @param string $className The class to provision @param array $customDefinition An optional array of one - time instantiation parameters @throws \ Auryn \ InjectionException @return mixed A provisioned instance of the $className class