芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/public_html/avenida/vendor/illuminate/container/ContextualBindingBuilder.php
concrete = $concrete; $this->container = $container; } /** * Define the abstract target that depends on the context. * * @param string $abstract * @return $this */ public function needs($abstract) { $this->needs = $abstract; return $this; } /** * Define the implementation for the contextual binding. * * @param \Closure|string $implementation * @return void */ public function give($implementation) { $this->container->addContextualBinding($this->concrete, $this->needs, $implementation); } }