Consider the following
Class someController {
public static $layout = 'index';
}
Then in another scope
$layout = 'default';
$controller = 'someController';
if(property_exists($controller, 'layout')){
$layout = $controller::$layout;
}
What will then be the content of $layout? Is it going to try to access someController::$layout or someController::default?
someController::$layout- although im confused as to why