PHP code example of truffo / ez-content-decorator-bundle
1. Go to this page and download the library: Download truffo/ez-content-decorator-bundle library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
truffo / ez-content-decorator-bundle example snippets
class Article extends ContentDecorator {
public function getPropertyArticle()
}
class Blog extends ContentDecorator {
public function getPropertyBlog()
}
interface Chapoable
{
public function chapo();
}
traits Chapo {
public function chapo()
{
// Notre logique pour construire un chapo ...
}
}
class Article implements Chapoable {
use Chapo;
}
class Page implements Chapoable
{
use Chapo;
}
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.