for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Germania\Websites;
abstract class WebsiteAbstract implements WebsiteInterface
{
/**
* @var int
*/
public $id;
* @var string
public $title;
public $route;
public $route_name;
public $content_file;
public $template;
public $dom_id;
* @var mixed
public $is_active;
* @var array
public $javascripts = array();
public $stylesheets = array();
* Gets the page ID.
*
* @return int
public function getId()
return $this->id;
}
* Gets the page title.
* @return string
public function getTitle()
return $this->title;
* Gets the page route.
public function getRoute()
return $this->route;
* Gets the page route name.
public function getRouteName()
return $this->route_name;
* Gets the content file for this page.
public function getContentFile()
return $this->content_file;
* Gets the page template file.
public function getTemplate()
return $this->template;
* Gets the DOM ID for this page.
public function getDomId()
return $this->dom_id;
* Gets an array with custom Javascripts
* @return array
public function getJavascripts()
return $this->javascripts;
* Gets an array with custom Stylesheets
public function getStylesheets()
return $this->stylesheets;
* Checks if the page is marked 'active'.
* @return mixed
public function isActive()
return $this->is_active;