protected function loadData()
    {
        if (null === $this->data) {
            $this->statement->execute();
            $this->data = $this->statement->fetchAll(\PDO::FETCH_ASSOC);
        }
    }
protected function loadData()
    {
        if (null === $this->data) {
            $this->statement->execute();
            $this->data = $this->statement->fetchAll(\PDO::FETCH_ASSOC);
        }
    }
protected function loadData ( ) { if ( null === $ this -> data ) { $ this -> statement -> execute ( ) ; $ this -> data = $ this -> statement -> fetchAll ( \ PDO :: FETCH_ASSOC ) ; } }
Load data if it hasn't been loaded yet
Load data if it hasn t been loaded yet