Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / drush / drush / src / Boot / AutoloaderAwareTrait.php
1 <?php
2 namespace Drush\Boot;
3
4 trait AutoloaderAwareTrait
5 {
6     protected $loader;
7
8     public function setAutoloader($loader)
9     {
10         $this->loader = $loader;
11     }
12
13     public function autoloader()
14     {
15         return $this->loader;
16     }
17
18     public function hasAutoloader()
19     {
20         return isset($this->loader);
21     }
22 }