public function destroy()
    {
        $this->manialink = null;
        $this->manialinkFactory = null;
        $this->dataCollection = null;

        // There is cyclic dependency between actions and model, remove it so that memory can be freed immediately.
        $this->actionFirstPage = null;
        $this->actionGotoPage = null;
        $this->actionLastPage = null;
        $this->actionNextPage = null;
        $this->temporaryActions = [];
        $this->temporaryEntries = [];
    }
public function destroy()
    {
        $this->manialink = null;
        $this->manialinkFactory = null;
        $this->dataCollection = null;

        // There is cyclic dependency between actions and model, remove it so that memory can be freed immediately.
        $this->actionFirstPage = null;
        $this->actionGotoPage = null;
        $this->actionLastPage = null;
        $this->actionNextPage = null;
        $this->temporaryActions = [];
        $this->temporaryEntries = [];
    }
public function destroy ( ) { $ this -> manialink = null ; $ this -> manialinkFactory = null ; $ this -> dataCollection = null ; // There is cyclic dependency between actions and model, remove it so that memory can be freed immediately. $ this -> actionFirstPage = null ; $ this -> actionGotoPage = null ; $ this -> actionLastPage = null ; $ this -> actionNextPage = null ; $ this -> temporaryActions = [ ] ; $ this -> temporaryEntries = [ ] ; }
Prepare object so that it's destroyed easier.

Generally GC will do this automatically, we are trying to help it so that it happens faster.

@return mixed
Prepare object so that it s destroyed easier .