for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of the Mediapart Selligent Client API
*
* CC BY-NC-SA <https://github.com/mediapart/selligent>
* For the full license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Mediapart\Selligent\Response;
use Mediapart\Selligent\Response;
* Trigger the execution of the specified journey map for a specific contact.
class TriggerCampaignForUserAndActionListItemResponse extends Response
{
* @var int
protected $TriggerCampaignForUserAndActionListItem;
public function __construct()
$this->TriggerCampaignForUserAndActionListItem = Response::ERROR_NORESULT;
$this->result = '';
result
In PHP it is possible to write to properties without declaring them. For example, the following is perfectly valid PHP code:
class MyClass { } $x = new MyClass(); $x->foo = true;
Generally, it is a good practice to explictly declare properties to avoid accidental typos and provide IDE auto-completion:
class MyClass { public $foo; } $x = new MyClass(); $x->foo = true;
}
* {@inheritDoc}
public function getCode()
return $this->TriggerCampaignForUserAndActionListItem;
In PHP it is possible to write to properties without declaring them. For example, the following is perfectly valid PHP code:
Generally, it is a good practice to explictly declare properties to avoid accidental typos and provide IDE auto-completion: