get() публичный Метод

Get an asset from the collection
public get ( string $name ) : null | AssetTarget
$name string The name of the asset you want.
Результат null | AssetTarget Either null or the asset target.
 public function testGet()
 {
     $collection = new AssetCollection(['libs.js', 'all.css'], $this->factory);
     $this->assertNull($collection->get('nope.js'));
     $this->assertInstanceOf('MiniAsset\\AssetTarget', $collection->get('libs.js'));
 }