src/Liip/Drupal/Modules/EventManager/SubjectFactory.php
public function getSubject($name)
    {
        if (empty($this->subjects[$name])) {

            $this->initSubject($name);
        }

        return $this->subjects[$name];
    }
public function getSubject($name)
    {
        if (empty($this->subjects[$name])) {

            $this->initSubject($name);
        }

        return $this->subjects[$name];
    }
public function getSubject ( $ name ) { if ( empty ( $ this -> subjects [ $ name ] ) ) { $ this -> initSubject ( $ name ) ; } return $ this -> subjects [ $ name ] ; }
Provides an event subject identified by the given name.

@param string $name

@return \Liip\Drupal\Modules\EventManager\EventSubject
Provides an event subject identified by the given name .