<?php
trait ExampleTrait
{
protected $developer;
public function really()
{
echo 'yep';
}
}
class Work
{
protected $developer;
use ExampleTrait;
public function __construct()
{
$this->really();
}
public function really()
{
echo 'noppers';
}
}
$work = new Work();
Strict Standards: Work and ExampleTrait define the same property ($developer) in the composition of Work. This might be incompatible, to improve maintainability consider using accessor methods in traits instead. Class was composed in /in/rXbop on line 29
noppers