for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the xAPI package.
*
* (c) Christian Flothmann <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Xabbuh\XApi\Model;
/**
* A {@link Profile} related to an {@link Agent}.
* @author Christian Flothmann <[email protected]>
final class AgentProfile extends Profile
{
* @var Agent The agent
private $agent;
public function __construct($profileId, Agent $agent)
parent::__construct($profileId);
$this->agent = $agent;
}
* Returns the agent.
* @return Agent The agent
public function getAgent()
return $this->agent;