abstract design

<?php /** * Created by PhpStorm. * User: Avi Levkovich * Date: 09/11/2017 * Time: 10:56 */ namespace design; abstract class abstract_design { protected $name; /** * abstract_design constructor. * @param $name */ public function __construct() { $name = explode( '\\', static::class ); $this->name = $name[ count( $name ) - 1 ]; } abstract function header(); abstract function footer(); abstract function body(); abstract public function css(); abstract public function js(); }

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.