So, I want to have my class include another file which in turn executes the return statement...
class layout {
public static function make($file) {
include $file;
}
}
I have a mylayout.layout.php
<?php
return true;
and then I do
echo layout::make('mylayout.layout.php');
Result is null