public function offsetGet($offset)
    {
        // Get name of the method, the class should have. Like "getText"
        $method = Text::camelCase("get $offset");

        // If it exists, call it and return its return value
        if (method_exists($this, $method)) {
            return $this->{$method}();
        }

        // If not return the data from the array after checking it is set
        return isset($this->container[$offset]) ? $this->container[$offset] : null;
    }
public function offsetGet($offset)
    {
        // Get name of the method, the class should have. Like "getText"
        $method = Text::camelCase("get $offset");

        // If it exists, call it and return its return value
        if (method_exists($this, $method)) {
            return $this->{$method}();
        }

        // If not return the data from the array after checking it is set
        return isset($this->container[$offset]) ? $this->container[$offset] : null;
    }
public function offsetGet ( $ offset ) { // Get name of the method, the class should have. Like "getText" $ method = Text :: camelCase ( "get $offset" ) ; // If it exists, call it and return its return value if ( method_exists ( $ this , $ method ) ) { return $ this -> { $ method } ( ) ; } // If not return the data from the array after checking it is set return isset ( $ this -> container [ $ offset ] ) ? $ this -> container [ $ offset ] : null ; }
\brief Get the given offset.
@param $offset The given offset.
@return Data relative to the offset.
\ brief Get the given offset .