Event.php
function setName($name)
    {
        if ($this->name !== null)
            throw new \Exception(sprintf(
                "Event with name (%s) are immutable. can`t set name (%s)."
                , $this->name, \Poirot\Std\flatten($name)
            ));

        $this->name = (string) $name;
        return $this;
    }
function setName($name)
    {
        if ($this->name !== null)
            throw new \Exception(sprintf(
                "Event with name (%s) are immutable. can`t set name (%s)."
                , $this->name, \Poirot\Std\flatten($name)
            ));

        $this->name = (string) $name;
        return $this;
    }
function setName ( $ name ) { if ( $ this -> name !== null ) throw new \ Exception ( sprintf ( "Event with name (%s) are immutable. can`t set name (%s)." , $ this -> name , \ Poirot \ Std \ flatten ( $ name ) ) ) ; $ this -> name = ( string ) $ name ; return $ this ; }
Set Events Entitle Name

- Events name are immutable

@param string $name

@throws \Exception
@return $this
Set Events Entitle Name