Skip to content
View composer.lock
<<<<<<< Updated upstream
"hash": "a91e1488ffb73939ba0ea5352b1e67c5",
=======
"hash": "3c821f662aa02116ce411d86bc421896",
>>>>>>> Stashed changes
View ServiceProvider.php
$container->inflector(ImmutableContainerAwareInterface::class, function (ImmutableContainerAwareInterface $containerAware) {
return $containerAware->setContainer($container->get(InteropContainerInterface::class));
});
View ServiceProvider.php
$container->resolving(EmitterAwareInterface::class, function (EmitterAwareInterface $emitterAware) {
$emitterAware->setEmitter($container->make(EmitterInterface::class));
});
View interfaces.md

Zend\Db\Adapter\AdapterAwareInterface.php
Zend\EventManager\EventManagerAwareInterface.php
Zend\EventManager\SharedEventAggregateAwareInterface.php
Zend\Log\LoggerAwareInterface.php

View UserExporter.php
class UserExporter
{
use CsvWriter;
public function __construct(User $users, UserTransformer $transformer)
{
$this->setup();
$this->setTransformer($transformer);
$this->users = $users;
}
View ListenerInterface.php
<?php
namespace League\Event;
interface ListenerInterface
{
/**
* Handle an event.
*
* @param EventInterface $event
View AbstractListener.php
<?php
namespace League\Event;
abstract class AbstractListener implements ListenerInterface
{
/**
* {@inheritdoc}
*/
public function isListener($listener)
View PartialListener.php
trait PartialListener
{
/**
* {@inheritdoc}
*/
public function isListener($listener)
{
return $this === $listener;
}
}
View CsvWriter.php
private function setTransformer(TransformerInterface $transformer)
{
$this->writer->insertOne($transformer->getHeaders());
$this->writer->addFormatter([$transformer, 'transform']);
}
View CsvWriter.php
trait CsvWriter
{
private $file;
private $writer;
private function setup()
{
$this->file = new SplTempFileObject();
$this->writer = Writer::createFromFileObject($this->file);
}
Something went wrong with that request. Please try again.