vendor/rdlowrey/auryn/lib/Provider.php
/**
     * Defines a custom injection definition for the specified class
     *
     * @param string $className
     * @param array $injectionDefinition An associative array matching constructor params to values
     * @throws \Auryn\BadArgumentException On missing raw injection prefix
     * @return \Auryn\Provider Returns the current instance
     */
Defines a custom injection definition for the specified class
@param string $className
@param array $injectionDefinition An associative array matching constructor params to values
@throws \Auryn\BadArgumentException On missing raw injection prefix
@return \Auryn\Provider Returns the current instance
Defines a custom injection definition for the specified class @param string $className @param array $injectionDefinition An associative array matching constructor params to values @throws \ Auryn \ BadArgumentException On missing raw injection prefix @return \ Auryn \ Provider Returns the current instance
public function define($className, array $injectionDefinition) {
        $this->validateInjectionDefinition($injectionDefinition);
        $normalizedClass = $this->normalizeClassName($className);
        $this->injectionDefinitions[$normalizedClass] = $injectionDefinition;
        return $this;
    }
public function define ( $ className , array $ injectionDefinition ) { $ this -> validateInjectionDefinition ( $ injectionDefinition ) ; $ normalizedClass = $ this -> normalizeClassName ( $ className ) ; $ this -> injectionDefinitions [ $ normalizedClass ] = $ injectionDefinition ; return $ this ; }
Defines a custom injection definition for the specified class
 @param string $className
 @param array $injectionDefinition An associative array matching constructor params to values
 @throws \Auryn\BadArgumentException On missing raw injection prefix
 @return \Auryn\Provider Returns the current instance
Defines a custom injection definition for the specified class @param string $className @param array $injectionDefinition An associative array matching constructor params to values @throws \ Auryn \ BadArgumentException On missing raw injection prefix @return \ Auryn \ Provider Returns the current instance