openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

Scriptable.class.php (458B)


      1 <?php
      2 
      3 namespace dsl\context;
      4 
      5 /**
      6  * Class is callable from scripts.
      7  *
      8  * Classes whose methods should be callable from user scripts must implement this interface.
      9  *
     10  * This is a marker interface which do not has methods by design.
     11  *
     12  * If a class do not implement this interface then its methods cannot be called out of a script.
     13  * This is for security reasons: You cannot expose your classes to the user context by mistake.
     14  */
     15 interface Scriptable {}