for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace keeko\core\model;
use keeko\core\model\Base\ApplicationUri as BaseApplicationUri;
use keeko\core\serializer\ApplicationUriSerializer;
use keeko\framework\model\ApiModelInterface;
/**
* Skeleton subclass for representing a row from the 'kk_application_uri' table.
*
* You should add additional methods to this class to meet the
* application requirements. This class will only be generated as
* long as it does not already exist in the output directory.
*/
class ApplicationUri extends BaseApplicationUri implements ApiModelInterface {
private static $serializer;
* @return ApplicationUriSerializer
public static function getSerializer() {
if (self::$serializer === null) {
self::$serializer = new ApplicationUriSerializer();
}
return self::$serializer;
public function getUrl() {
return sprintf('http%s://%s%s',
$this->getSecure() ? 's' : '',
$this->getHttphost(),
$this->getBasepath());