/usr/share/php/Symfony/Component/DependencyInjection/Loader/Configurator/Traits
Edit: /usr/share/php/Symfony/Component/DependencyInjection/Loader/Configurator/Traits/AutowireTrait.php (572B)
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DependencyInjection\Loader\Configurator\Traits;
trait AutowireTrait
{
/**
* Enables/disables autowiring.
*
* @return $this
*/
final public function autowire(bool $autowired = true): self
{
$this->definition->setAutowired($autowired);
return $this;
}
}