mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
* Fix loosly comparison to strict + argument types and return types for >=7.0 * Change hard-coded strings to ::class, * Fix unit-tests failures - some relative to 7.0 phpunit env deployment * Fix exception string + format return types * Change string representation of new classes in traceLog to ::class Credit to @arthurkushman
25 lines
562 B
PHP
25 lines
562 B
PHP
<?php namespace Cms\Classes;
|
|
|
|
/**
|
|
* The CMS partial class.
|
|
*
|
|
* @package october\cms
|
|
* @author Alexey Bobkov, Samuel Georges
|
|
*/
|
|
class Partial extends CmsCompoundObject
|
|
{
|
|
/**
|
|
* @var string The container name associated with the model, eg: pages.
|
|
*/
|
|
protected $dirName = 'partials';
|
|
|
|
/**
|
|
* Returns name of a PHP class to us a parent for the PHP class created for the object's PHP section.
|
|
* @return string Returns the class name.
|
|
*/
|
|
public function getCodeClassParent()
|
|
{
|
|
return PartialCode::class;
|
|
}
|
|
}
|