/** * Retrieve a single instance by a given post ID * * @access public * @return \WPMVC\Models\Post */ public function findById($postId) { // Retrieve the post $thePost = WP::getPost($postId); // Return the wrapped instance return new $this->className($thePost); }