public function asArray()
    {
        $a = get_object_vars($this);
        $a['showing_from'] = $this->showingFrom;
        $a['showing_to'] = $this->showingTo;

        // remove manager object from array
        unset($a['manager']);

        return $a;
    }
public function asArray()
    {
        $a = get_object_vars($this);
        $a['showing_from'] = $this->showingFrom;
        $a['showing_to'] = $this->showingTo;

        // remove manager object from array
        unset($a['manager']);

        return $a;
    }
public function asArray ( ) { $ a = get_object_vars ( $ this ) ; $ a [ 'showing_from' ] = $ this -> showingFrom ; $ a [ 'showing_to' ] = $ this -> showingTo ; // remove manager object from array unset ( $ a [ 'manager' ] ) ; return $ a ; }
For v2 and v3 BC reasons.

@return array
For v2 and v3 BC reasons .