You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<?php namespace App\Core;
use League\Container\Container;
class AppController
{
private $container;
public function __construct( Container $container ) {
$this->container = $container;
}
public function __get( $name ) {
if ( $this->container->get( $name ) ) {
return $this->container->get( $name );
}
}
}
Apparently i got:
Argument 1 passed to League\Container\Container::__construct() must implement interface League\Container\ServiceProvider\ServiceProviderAggregateInterface, string given
Btw, Im using Auto Wiring
The text was updated successfully, but these errors were encountered:
Apparently i got:
Btw, Im using Auto Wiring
The text was updated successfully, but these errors were encountered: