Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / tests / Drupal / Tests / Component / Plugin / StubPluginManagerBaseWithMapper.php
1 <?php
2
3 namespace Drupal\Tests\Component\Plugin;
4
5 use Drupal\Component\Plugin\Mapper\MapperInterface;
6 use Drupal\Component\Plugin\PluginManagerBase;
7
8 /**
9  * Stubs \Drupal\Component\Plugin\PluginManagerBase to take a MapperInterface.
10  */
11 final class StubPluginManagerBaseWithMapper extends PluginManagerBase {
12
13   /**
14    * Constructs a new instance.
15    *
16    * @param \Drupal\Component\Plugin\Mapper\MapperInterface $mapper
17    */
18   public function __construct(MapperInterface $mapper) {
19     $this->mapper = $mapper;
20   }
21
22 }