public function buildFromDirectory($dir, $regex = null)
    {
        return $this->invokeEvent(
            self::BUILD_DIR,
            array(
                'dir' => $dir,
                'regex' => $regex
            )
        );
    }