getScriptFeatures()); } else if ($object instanceof ScriptFeature) { array_push($scriptFeatures, $object); } } return $scriptFeatures; } /** * Prepare the given Script for Rendering by adding the needed Labels, etc. * * @param Script $script Script to prepare * @return \FML\Script\Features\ScriptFeature */ public abstract function prepare(Script $script); }