public function addPlatform(Platform $platform)
    {
        if (!isset($this->platforms)) {
            $this->platforms = [];
        }

        $this->platforms[] = $platform;

        return $this;
    }
public function addPlatform(Platform $platform)
    {
        if (!isset($this->platforms)) {
            $this->platforms = [];
        }

        $this->platforms[] = $platform;

        return $this;
    }
public function addPlatform ( Platform $ platform ) { if ( ! isset ( $ this -> platforms ) ) { $ this -> platforms = [ ] ; } $ this -> platforms [ ] = $ platform ; return $ this ; }
Add a new platform to the list of platforms where to send push notification.

@param \Gomoob\Pushwoosh\Model\Notification\Platform $platform the new platform to add.

@return \Gomoob\Pushwoosh\Model\Notification\Notification this instance.
Add a new platform to the list of platforms where to send push notification .