예제 #1
0
 /**
  * ShortURLsController constructor.
  *
  * @param ShortURL $shortURL
  */
 public function __construct(ShortURL $shortURL)
 {
     parent::__construct();
     $this->shortURL = $shortURL;
 }
예제 #2
0
 /**
  * TwitterUsersController constructor.
  *
  * @param TwitterUser $twitterUser
  */
 public function __construct(TwitterUser $twitterUser)
 {
     parent::__construct();
     $this->twitterUser = $twitterUser;
 }